package com.hopes.bizz.emergency.common.api.feign;

import com.hopes.bizz.common.core.constant.ServiceNameConstants;
import com.hopes.boss.common.core.util.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestHeader;

@FeignClient(contextId = "remoteParkBasicService", value = ServiceNameConstants.PARK_BASIC_SERVER)
public interface RemoteParkBasicService  {

    @GetMapping({"/hazardSource/count"})
    R<Integer> gethazHazardSourceList(@RequestHeader("from") String from);

}
